﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SharpWeb
{
    public class StyleTag : TagComponent
    {
        public StyleTag()
        {

        }
        public StyleTag(string style)
        {
            this._Style = style;
        }
        protected override bool CloseItSelf
        {
            get { return false; }
        }

        protected override string TagName
        {
            get { return "style"; }
        }

        public string type
        {
            get { return this.Attributes["type"]; }
            set { this.Attributes["type"] = value; }
        }

        private string _Style;
        /// <summary>
        /// 样式内容
        /// </summary>
        public string Style
        {
            get { return _Style; }
            set { _Style = value; }
        }

    }
}
